<template>
  <div class="goods">
    <grass-list-item
      v-for="(item,index) in grasses"
      :grass-item="item"
      :inputData="inputData"
      :key="index"
    />
  </div>
</template>

<script>
import GrassListItem from "./GrassListItem.vue";

export default {
  name: "GrassList",
  components: {
    GrassListItem
  },
  props: ["grasses", "inputData"]
};
</script>

<style scoped>
.goods {
  display: flex;
  flex-flow: wrap;
  padding: 3px;
  justify-content: space-around;
}
</style>